/*sidebar修改样式*/
.dcl{
    width: 16px;
    height: 16px;
    background: #DB5043;
    border-radius: 50%;
    font-family: PingFangSC-Regular;
    font-size: 12px;
    color: #FFFFFF!important;
    text-align: center;
    line-height: 16px;
    position: absolute;
    right: 40px;
    top: calc(50% - 8px);
}
.el-scrollbar{
    height: calc(100% - 65px);
    overflow-x: hidden;
    border-right: solid 1px #e6e6e6;
}
.el-scrollbar__wrap {
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
}
.el-submenu__title {
    color: #303133!important;
}
.is-opened span{
    color: #0D4AA4!important;
}
.is-opened .dcl{
    color: #fff!important;
}
.el-submenu__title{
    position: relative;
}
.el-menu-item:hover{
    color: #0D4AA4!important;
    background: rgba(21,68,176,0.10)!important;
}
.el-menu-item:hover .el-menu-item_yd{
    background: #0D4AA4!important;
    border: 1px solid #0D4AA4;
}
.is-active>.el-menu-item_yd {
    background: #0D4AA4!important;
    border: 1px solid #0D4AA4;
}
.el-menu-item_yd{
    display: inline-block;
    width: 5px;
    height: 5px;
    border: 1px solid #5E5F60;
    border-radius: 50%;
    margin-right: 8px;
}
.el-menu .icon{
    color: #5176AE!important;
    font-size: 17px;
    margin-right: 10px;
}
.sidebar_img{
    width: auto;
    height: 60px;
    background: #003A87;
    position: relative;
}
.sidebar_img_img{
    width: 195px;
    height: 25px;
    position: absolute;
    top: 15px;
    left: 10px;
}
.sidebar_img_img_tb{
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
    left: 17px;
}
//navbar修改样式
.right-menu{
    .el-menu--vertical{
        height: 100%;
        overflow-y: auto;
    }
    .el-menu--popup-right-start {
        margin-left: 3px;
        margin-right: 0;
    }
    .tags-view-wrapper .tags-view-item .el-icon-close{
        position: relative;
        top: -1px;
        left: -1px;
    }
}
.header-link1{width:350px;height:176px;color:#333; transition-property:all; transition-duration:.5s;margin-top: 0;}
.header-link1 img{float:left; width:82px; height:90px; margin:5px;}
.header-link1 ul{width:200px; height:90px; float: right}
.header-link1 .name{float:left; margin:20px 12px 0 0; font-size:18px; line-height:20px;}
.header-link1 .dept{float:left; margin:20px 0 0; font-size:14px; line-height:20px; height:20px; padding:0 12px; border-radius:999px; background:#EAEEF1;}
.header-link1 .sch{float:left; clear:left; margin:16px 0 0; font-size:14px;}
.header-link1 .col2{width:305px; height:64px; float:left; border-top:1px dashed #e2e2e2; }
.header-link1 .col2 .identity{color:#005db5; font-size:14px; float:left; margin-top:22px;}
.header-link1 .col2 .identity i{font-size: 20px;float: left;padding-right: 1px;position: relative;top: -8px;}
.header-link1 .col2 .identity span{ line-height:20px; float:left;}
.header-link1 .col2 .identity:hover{color:#0074DD;}
.header-link1 .col2 .out:hover{background:#D9313E;}
.out{float:right; margin-top:22px; font-size:14px; color:#FFF; line-height:24px; padding:0 10px; background:#E05861; border-radius:10px;}
.header-link1>.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {background-color: #fff;color: #333;}
.navbar {
    height: 60px;
    overflow: hidden;
    position: relative;
    background: #0D4AA4;
    box-shadow: 0 1px 4px rgba(0,21,41,.08);
    .right-menu{
        padding-right: 8px;
    }
    .header-link1{
        width:370px !important;
        height:176px !important;
    }
    .col1{
        width:370px !important;
        height:176px !important;
    }
    .header-link1 img{
        float:left;
        width:82px;
        height:90px;
        margin:25px 20px 20px;
    }

    .xxtx{
        display: inline-block;
        width: 40px;
        height: 60px;
        line-height: 60px;
        position: relative;
        cursor: pointer;
        .xxtx_icon{
            font-size: 24px;
            color: #fff;
        }
        .xxtxsl{
            position: absolute;
            font-size: 11px;
            color: #FFFFFF;
            text-align: left;
            display: inline-block;
            width: 14px;
            height: 14px;
            line-height: 14px;
            border-radius: 2px;
            background-color: #DB5043;
            top: 15px;
            right: 15px;
        }
    }
    .xxtx_xq{
        width: auto;
        color: #fff;
        margin: 0 10px;
        .xxtx_icon{
            font-size: 11px!important;
            margin-left: 5px;
        }
    }
    .hamburger-container {
        line-height: 53px;
        height: 100%;
        float: left;
        cursor: pointer;
        transition: background .3s;
        -webkit-tap-highlight-color:transparent;
        .hamburger{
            color: #fff!important;
        }
        &:hover {
            background: rgba(0, 0, 0, .025)
        }
    }

    .breadcrumb-container {
        float: left;
    }

    .errLog-container {
        display: inline-block;
        vertical-align: top;
    }

    .right-menu {
        float: right;
        height: 100%;
        line-height: 50px;

        &:focus {
            outline: none;
        }

        .right-menu-item {
            display: inline-block;
            padding: 0 8px;
            height: 100%;
            font-size: 18px;
            color: #5a5e66;
            vertical-align: text-bottom;

            &.hover-effect {
                cursor: pointer;
                transition: background .3s;

                &:hover {
                    background: rgba(0, 0, 0, .025)
                }
            }
        }

        .avatar-container {
            margin-right: 30px;

            .avatar-wrapper {
                margin-top: 5px;
                position: relative;

                .user-avatar {
                    cursor: pointer;
                    width: 40px;
                    height: 40px;
                    border-radius: 10px;
                }

                .el-icon-caret-bottom {
                    cursor: pointer;
                    position: absolute;
                    right: -20px;
                    top: 25px;
                    font-size: 12px;
                }
            }
        }
    }
}
//tagsview修改样式
.tags-view-container {
    height: 42px;
    width: 100%;
    background: transparent;
    .el-scrollbar{
        height: 35px !important;
    }
    .tags-view-wrapper {
        .tags-view-item {
            display: inline-block;
            position: relative;
            cursor: pointer;
            height: 26px;
            line-height: 26px;
            border: 1px solid #d8dce5;
            color: #495060;
            background: #fff;
            padding: 0 8px;
            font-size: 12px;
            margin-left: 5px;
            margin-top: 8px;
            border-radius: 18px;
            letter-spacing: 0;
            &:first-of-type {
                margin-left: 15px;
            }
            &:last-of-type {
                margin-right: 15px;
            }
            &.active {
                background-color: #0D4AA4;
                color: #fff;
                border-color: #0D4AA4;
                &::before {
                    content: '';
                    background: #fff;
                    display: inline-block;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    position: relative;
                    margin-right: 2px;
                }
            }
        }
    }
    .contextmenu {
        margin: 0;
        background: #fff;
        z-index: 3000;
        position: absolute;
        list-style-type: none;
        padding: 5px 0;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 400;
        color: #333;
        box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
        li {
            margin: 0;
            padding: 7px 16px;
            cursor: pointer;
            &:hover {
                background: #eee;
            }
        }
    }
}
//reset element css of el-icon-close
.tags-view-wrapper {
    .tags-view-item {
        .el-icon-close {
            width: 16px;
            height: 16px;
            vertical-align: 2px;
            border-radius: 50%;
            text-align: center;
            transition: all .3s cubic-bezier(.645, .045, .355, 1);
            transform-origin: 100% 50%;
            &:before {
                transform: scale(.6);
                display: inline-block;
                vertical-align: -3px;
            }
            &:hover {
                background-color: #b4bccc;
                color: #fff;
            }
        }
    }
}
.scroll-container {
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: 100%;
    ::v-deep {
        .el-scrollbar__bar {
            bottom: 0;
        }
        .el-scrollbar__wrap {
            height: 49px;
        }
    }
}
//appmain修改样式
#app .hideSidebar .main-container{
    height: 100%;
}
.hasTagsView .app-main{
    height: calc(100% - 105px);
}
.el-table__body-wrapper{
    .el-table td, .el-table th{
        padding: 5px 0!important;
    }
}
.app-main {
    min-height: 585px;
    min-width: 806px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-left: 8px;
    border-radius: 3px;
    box-shadow: none;
    background-color: transparent;
}

.fixed-header+.app-main {
    padding-top: 50px;
}

.hasTagsView {
    .app-main {
        /* 84 = navbar + tags-view = 50 + 34 */
    }
    .fixed-header+.app-main {
        padding-top: 84px;
    }
}
.el-popup-parent--hidden {
    .fixed-header {
        padding-right: 15px;
    }
}